package com.lzj.demo.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.lzj.common.annotation.ExcelDictFormat;
import com.lzj.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 测试测试视图对象 test_table
 *
 * @author lzj
 * @date 2024-08-29
 */
@Data
@ExcelIgnoreUnannotated
public class TestTableVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @ExcelProperty(value = "编号")
    private Long id;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称")
    private String name;

    /**
     * 文件
     */
    @ExcelProperty(value = "文件")
    private String file;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_common_status")
    private String status;

    /**
     * 创建人
     */
    @ExcelProperty(value = "创建人")
    private String createBy;

    /**
     * 创建日期
     */
    @ExcelProperty(value = "创建日期")
    private Date createTime;


}
